package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentCheckPlanDetail;
import com.mxpioframework.system.service.BaseService;

import java.util.List;

/**
 * @Description: 点检计划明细
 * @Author: jeecg-boot
 * @Date:   2021-09-16
 * @Version: V1.0
 */
public interface EquipmentCheckPlanDetailService extends BaseService<EquipmentCheckPlanDetail> {

	public List<EquipmentCheckPlanDetail> selectByMainId(String mainId);

    /**
     * 根据点检分类批量新增点检计划明细
     * @param planId
     * @param categoryId
     */
    public void addDetailByCategory(String planId, String categoryId);

    /**
     * 单条新增计划明细
     * @param equipmentCheckPlanDetail
     */
    void addDetail(EquipmentCheckPlanDetail equipmentCheckPlanDetail);
}
